package com.air.admin.service;

import java.util.List;

import com.air.admin.mo.AdminPrivilege;
import com.air.admin.mo.AdminRole;
import com.air.admin.vo.RoleQueryRequestVO;
import com.air.common.service.IBaseService;
import com.air.common.util.QueryCondition;
import com.air.common.vo.PageResultListVO;

public interface IAdminRoleService extends IBaseService {
	
	public List<AdminPrivilege> getPrivilege(AdminRole role);
	
	public boolean hasRelativeRole(List<String> privileges);
	
	
	public PageResultListVO queryInSimpleMode(QueryCondition condition,
			Integer pageNum,Integer pageLimit,String queryString) throws Exception;
	
	public PageResultListVO queryInAdvanceMode(QueryCondition condition,
			Integer pageNum,Integer pageLimit,RoleQueryRequestVO queryRequestVO) throws Exception;
	
}
